﻿///***************************************************************
/// 시  스  템 : Updms.Dvd.Exe
/// 단위시스템 : DVD
/// 계      층 : Execute Layer (Not Transaction)
/// 프로그램명 : Dvd1012m_NT
/// 파  일  명 : Dvd1012m_NT.cs
/// 설      명 : DVD관리
///***************************************************************
/// 수정ID 일자       이름     내용
///---------------------------------------------------------------
/// CH001  2008-08-04 송시명   최초 작성
///***************************************************************
using System.Data;
using System.EnterpriseServices;
using System.Runtime.InteropServices;

using SMFramework.Data;


namespace Updms.Dvd.Exe
{
	[ComVisible(true)]
	[Transaction(TransactionOption.NotSupported)]
	[JustInTimeActivation(true)]
	public class Dvd1012m_NT : Base.AppFramework.RuleBase
	{
		public Dvd1012m_NT()
		{
		}

		#region GetSearchCount
		
		[AutoComplete]
		public int GetSearchCount(DataPack lo_dp)
		{
			_exeTimeLog.Prepare();

			using (Dac.Dvd_Dac_UPDMS_DVD_INFO _dac = new Dac.Dvd_Dac_UPDMS_DVD_INFO())
			{
				return _dac.GetSearchCount(lo_dp);
			}
		}
		
		#endregion

		#region SelectProcess
		
		[AutoComplete]
		public DataSet SelectProcess(DataPack lo_dp)
		{
			_exeTimeLog.Prepare();

			using (Dac.Dvd_Dac_UPDMS_DVD_INFO _dac = new Dac.Dvd_Dac_UPDMS_DVD_INFO())
			{
				return _dac.SelectProcess(lo_dp);
			}
		}
		
		#endregion

		#region GetCategoryListByDvdNo

		[AutoComplete]
		public DataSet GetCategoryListByDvdNo(DataPack lo_dp)
		{
			_exeTimeLog.Prepare();

			using (Dac.Dvd_Dac_UPDMS_DVD_INFO _dac = new Dac.Dvd_Dac_UPDMS_DVD_INFO())
			{
				return _dac.GetCategoryListByDvdNo(lo_dp);
			}
		}

		#endregion

		#region GetNewDvdNoByDiv

		[AutoComplete]
		public string GetNewDvdNoByDiv(DataPack lo_dp)
		{
			_exeTimeLog.Prepare();

			using (Dac.Dvd_Dac_UPDMS_DVD_INFO _dac = new Dac.Dvd_Dac_UPDMS_DVD_INFO())
			{
				return _dac.GetNewDvdNoByDiv(lo_dp);
			}
		}

		#endregion
		
	}
}
